package dao;

import entity.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version 1.0
 * @Author: 举个栗子吖
 * @Date: 2019-11-20 8:52
 */
public interface RolePermissionDao {
    public List<Permission>list();

    List<Permission>queryByRoleId(int id);

    void del(int roleid);

    void save(@Param("roleid") int roleid,@Param("permissionid") int permissionid);
}
